package io.github.jsp.tranvolume.entity;

import java.time.LocalDateTime;

/**
 * 失败响应码统计实体
 */
public class TranFailCode {
    
    private Long id;
    private LocalDateTime minuteTime;
    private String center;
    private String servicePlat;
    private String retCode;
    private Integer failCount;
    private LocalDateTime createTime;

    public TranFailCode() {}

    public TranFailCode(LocalDateTime minuteTime, String center, String servicePlat, 
                       String retCode, Integer failCount) {
        this.minuteTime = minuteTime;
        this.center = center;
        this.servicePlat = servicePlat;
        this.retCode = retCode;
        this.failCount = failCount;
    }

    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public LocalDateTime getMinuteTime() { return minuteTime; }
    public void setMinuteTime(LocalDateTime minuteTime) { this.minuteTime = minuteTime; }

    public String getCenter() { return center; }
    public void setCenter(String center) { this.center = center; }

    public String getServicePlat() { return servicePlat; }
    public void setServicePlat(String servicePlat) { this.servicePlat = servicePlat; }

    public String getRetCode() { return retCode; }
    public void setRetCode(String retCode) { this.retCode = retCode; }

    public Integer getFailCount() { return failCount; }
    public void setFailCount(Integer failCount) { this.failCount = failCount; }

    public LocalDateTime getCreateTime() { return createTime; }
    public void setCreateTime(LocalDateTime createTime) { this.createTime = createTime; }
}